package com.hillky.springboot.service;

import com.github.pagehelper.PageInfo;
import com.hillky.springboot.controller.request.BaseRequest;
import com.hillky.springboot.entity.Category;

import java.util.List;


public interface CategoryService {


    List<Category> list();

    PageInfo<Category> page(BaseRequest baseRequest);

    void save(Category category);

    Category getById(Integer id);

    void update(Category category);

    void deleteById(Integer id);

    List<Category> getOptions();

}
